.test {
  width: 1116rpx;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  &.w100 {
    width: 100%;
  }
}

.test_top {
  width: 100%;
}

.title {
  width: 100%;
}

.title_content {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;

  .title_number {
    width: 60rpx;
    height: 60rpx;
    margin-right: 40rpx;
    border-radius: 50%;
    border: 4rpx solid #077abc;
    font-size: 36rpx;
    color: #077abc;
    line-height: 52rpx;
    text-align: center;
  }

  text {
    width: calc(100% - 100rpx);
    font-size: 36rpx;
    font-weight: 700;
    color: #077abc;
  }
}

.box {
  width: 100%;
  margin-top: 60rpx;
  display: flex;
}

.options {
  flex: 1;
}

.options_container {
  width: 100%;
  height: 90rpx;
  padding: 0 68rpx 0 20rpx;
  border-radius: 20rpx;
  background: rgba(107, 201, 247, 0.3);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;

  &:not(:last-child) {
    margin-bottom: 30rpx;
  }

  &.error {
    background-color: #bfbfbf;

    .options_content {
      color: #fff;
    }
  }

  &.correct {
    background-color: #7ab865;

    .options_content {
      color: #fff;
    }
  }

  &.active {
    background-color: #00a0e9;

    .options_content {
      color: #fff;
    }
  }

  .options_content {
    width: 100%;
    font-size: 36rpx;
    color: #077abc;
  }

  .options_iamge {
    width: 48rpx;
    height: 48rpx;
    position: absolute;
    top: 50%;
    right: 20rpx;
    transform: translateY(-50%);

    image {
      width: 100%;
    }
  }
}

.answer {
  align-self: stretch;
  flex: 1;
  margin-left: 40rpx;
  font-size: 32rpx;
  color: #666;
  line-height: 56rpx;
  text-align: left;
  overflow-y: auto;
}

.test_bottom {
  width: 100%;
}

.button {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .button_content {
    width: 195rpx;
    height: 89rpx;
    margin: 0 auto;
    padding-bottom: 10rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/hengxiao/common/btn_bg.png) center center/cover no-repeat;

    text {
      font-size: 28rpx;
      color: #fff;
      font-weight: 700;
    }
  }
}

.popup_container {
  width: 686rpx;
  background: #fce38a;
  border: 12rpx solid #0091ea;
  box-shadow: 8rpx 8rpx 0px 0px #81d4fa;
  border-radius: 42rpx;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  .popup_title {
    width: auto;
    padding-top: 56rpx;
    font-size: 32rpx;
    color: #666666;
  }

  .popup_button {
    width: 100%;
    margin-top: 28rpx;
    margin-bottom: 28rpx;
    display: flex;
    justify-content: center;
    align-items: center;

    .popup_button_content {
      width: 255rpx;
      height: 70rpx;
      margin: 0 24rpx;
      padding: 0 24rpx;
      border-radius: 35rpx;
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg4.png) center/cover no-repeat scroll;
      display: flex;
      justify-content: space-around;
      align-items: center;

      text {
        font-size: 32rpx;
        color: #fce38a;
      }
    }

    .popup_button_box {
      width: 204rpx;
      height: 56rpx;
      border-radius: 28rpx;
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg4.png) center/cover no-repeat scroll;
      font-size: 28rpx;
      color: #fff;
      line-height: 56rpx;
      text-align: center;

      &.disabled {
        background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg5.png) center/cover no-repeat scroll;
      }
    }

    .popup_button_text {
      width: auto;
      padding-left: 12rpx;
      padding-right: 0;
      font-size: 24rpx;
      font-weight: bold;
      color: #0091ea;
    }
  }

  .popup_info {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;

    text {
      font-size: 28rpx;
      font-weight: bold;
      color: #333333;
    }
  }
}

.popup_content {
  width: 100%;
  padding-top: 28rpx;
  padding-bottom: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  .popup_img {
    width: 160rpx;
    height: 160rpx;
    margin-right: 24rpx;

    image {
      width: 100%;
    }
  }

  .popup_score {
    width: auto;
    padding-left: 24rpx;
    font-size: 42rpx;
    color: #ff0000;
  }
}

.mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mask_effect {
  z-index: 1;
}

.effect {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;

  .effect1 {
    width: 120%;
    animation: beam 3s 1 ease;
  }

  .effect2 {
    width: 40%;
    animation: gradual 3s 1 ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@keyframes beam {
  0% {
    width: 0%;
    transform: rotate(0);
  }

  100% {
    width: 100%;
    transform: rotate(100deg);
  }
}

@keyframes gradual {
  0% {
    width: 0%;
  }

  100% {
    width: 40%;
  }
}